/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.cvut.fel.omo.blog;

/**
 *
 * @author jarda
 */
abstract class User {
    String username;
    String psw;
    public boolean blocked=false;
    Blog belognToSite;
    
    
    void createComment(String content){new Comment(content, this);};

    public String getUsername() {
        return username;
    }
 
    public User(String name,String psw,Blog blog){
    this.username=name;
    this.psw=psw;
    this.belognToSite=blog;
    
    
    }
    public boolean getBlocked(){
    return blocked;
    }
}
